package com.joker.orange.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.joker.common.annotation.ExcelDictFormat;
import com.joker.common.convert.ExcelDictConvert;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户点赞视图对象 t_user_like
 *
 * @author Joker
 * @date 2024-07-04
 */
@Data
@ExcelIgnoreUnannotated
public class UserLikeVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @ExcelProperty(value = "唯一标识")
    private Long id;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private Long userId;

    /**
     * 点赞对象ID
     */
    @ExcelProperty(value = "点赞对象ID")
    private Long likeTypeId;

    /**
     * 点赞类型（0-网格视频、1-短视频、2-小说、3-漫画、4-动漫）
     */
    @ExcelProperty(value = "点赞类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=-网格视频、1-短视频、2-小说、3-漫画、4-动漫")
    private String likeType;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
